#ifndef Dialog_h__
#define Dialog_h__
#include "cocos2d.h"
using namespace cocos2d;

#include "../ViewBase.h"
#include "../Mask.h"

class Framework;
class Dialog : public CCLayer, public ViewBase
{
public:
	static Mask* masks;
	static CCLayer* modelDialogLayer;
	static CCLayer* modelLessDialogLayer;

	Dialog(void);
	~Dialog(void);

	void onEnter();
	void onExit();
public:
	static Framework* framework;
	virtual void popup(float offsetX=0, float offsetY=0);
	virtual void close();
	virtual void touchScreen(){}
	virtual void loseFocus();
	virtual void getFocus();
	virtual void setTarget();
};

#endif